package com.iocaop.uaa.repository;

import com.iocaop.uaa.domain.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface UserRepo extends JpaRepository<User,Long> {
    Optional<User> findOptionalByUsername(String username);
}
